﻿<!--addnew/edit form-->
<form name="formEditor">

<TABLE class="table_comm" cellSpacing=0 cellPadding=0 width="100%" border=0>
<!-- 页面内容标签：如“新增记录”、“修改记录” -->
<tr>
<td>
<div id=tabs>
    <ul>
        <li onclick="changeLiStyle(this);" id="tabsl">
            <a  
                onmouseover="javascript:window.status='';return true;" 
                onmouseout="javascript:window.status='';return true;" 
                href='#' 
                onclick='JavaScript:return false;'>
                <span id="formTitleEditor">修改信息</span>
            </a>
        </li>
    </ul>
    <div id='hline'></div>
</div>
</tr>
</td>
</table>

<FIELDSET><LEGEND>动迁档案信息</LEGEND>
<TABLE class="table_comm" cellSpacing=0 cellPadding=0 width="100%" border=0>
	<tr>
		<td class="th20">项目名称</td>
		<td class="td20left">
				<!--picklist-->
				<input name="project_id" type="hidden" value="">
				<input type="text" id="project_name" name="project_name" size="30" readonly value="">
				<img src="${def:context}/images/search.gif" class="tool"
					onclick="pickOpen('project_name','project_id','${def:context}/action/dq/pick/project?display=display:none','400','300','formEditor')"
					title="查询动迁项目">
				<img src="${def:context}/images/clear.gif"
					onclick="pickClear('formEditor','project_name','project_id');" class="tool2"
					title="清除选择的内容" >					

		</td>
	</tr>

	<tr>
		<td class="th20 required">档案编号</td>
		<td class="td20left">
            <input name="archives_no" type="text" size="20" maxlength="25" value="">
		</td>
	</tr>
	<tr>
		<td class="th20 required">档案存放位置</td>
		<td class="td20left">
            <input name="place_name" type="text" size="20" maxlength="25" value="">
		</td>
	</tr>
	<tr>
		<td class="th20 required">姓名</td>
		<td class="td20left">
			<input name="master_name" type="text" size="20" maxlength="25" value="" onBlur="validateMasterName(this.value)">
		</td>
	</tr>
	<tr>
		<td class="th20 required">小区名称</td>
		<td class="td20left">
				<!--picklist-->
				<input name="location_id" type="hidden" value="">
				<input type="text" id="location_name1" name="location_name1" size="30" readonly value="">
				<img src="${def:context}/images/search.gif" class="tool"
					onclick="pickOpen('location_name1','location_id','${def:context}/action/dq/pick/location/form?display=display:none','400','300','formEditor');"
					title="查询小区名称">
				<img src="${def:context}/images/clear.gif"
					onclick="pickClear('formEditor','location_name1','location_id');" class="tool2"
					title="清除选择的内容" >
		</td>
	</tr>
	<tr>
		<td class="th20 required">楼号</td>
		<td class="td20left" nowrap>
			<input name="house_tuid" type="hidden" value="">
            <input name="house_name" type="text" size="20" maxlength="25" value="1-3-302" onblur="javascript:if(this.readOnly!=true) findHouse()">（格式：x-x-x ）<div id="findHouseDiv"></div>
             <!-- <input type="button" class="cmd" value="确定房源是否存在" onclick="findHouse()" id="findHouseBtn"> -->
		</td>
	</tr>
	<tr>
		<td class="th20">户型</td>
		<td class="td20left">
				<!--picklist-->
				<input id="house_type_tuid" name="house_type_tuid" type="hidden" value="">
				<input type="text" id="room_type" name="room_type" size="30" readonly value="">
				<img src="${def:context}/images/search.gif" class="tool"
					onclick="pickOpen('room_type','house_type_tuid','${def:context}/action/dq/pick/roomtype/form?display=display:none','400','250','formEditor')"
					title="查询户型">
				<img src="${def:context}/images/clear.gif"
					onclick="pickClear('formEditor','room_type','house_type_tuid');" class="tool2"
					title="清除选择的内容" >					
		</td>
    </tr>
	<tr>
		<td class="th20 required">建筑面积</td>
		<td class="td20left">
            <input name="jianzhu_area" type="text" size="20" maxlength="25" value="">
		</td>
	</tr>
	<tr>
		<td class="th20 required">人口数</td>
		<td class="td20left">
            <input name="population" type="text" size="20" maxlength="25" value="">
		</td>
	</tr>
	<tr>
		<td class="th20 required">所在街道名称</td>
		<td class="td20left">
            <input name="cun_name" type="text" size="20" maxlength="25" value="">
		</td>
	</tr>
	<tr>
		<td class="th20">所在村屯名称</td>
		<td class="td20left">
            <input id="tun_name" name="tun_name" type="text" size="20" maxlength="25" value="">
            <input id="location_id2" name="location_id2"  type="hidden" size="20" maxlength="25" value="">

				<img src="${def:context}/images/search.gif" class="tool"
					onclick="pickOpen('tun_name','location_id2','${def:context}/action/dq/pick/location1/form?display=display:none','400','250','formEditor','cun_name','tun_name');"
					title="查询小区名称">
				<img src="${def:context}/images/clear.gif"
					onclick="pickClear('formEditor','tun_name','location_id2','cun_name','tun_name');" class="tool2"
					title="清除选择的内容" >

		</td>
	</tr>
	<!--tr>
		<td class="th20">档案状态</td>
		<td class="td20left">
            <input name="archives_status" type="radio" value="0">未归档
			<input name="archives_status" type="radio" value="1">已归档<br/>
			如果院内设施及结算表信息尚未录入，请选择“未归档”。
		</td>
	</tr-->
	<tr>
		<td class="th20">备注</td>
		<td class="td20left">
            <input name="remark" type="text" size="20" maxlength="25" value="">
		</td>
	</tr>
</TABLE>
</FIELDSET>


<FIELDSET><LEGEND>操作信息</LEGEND>
<TABLE class=table_comm cellSpacing=0 cellPadding=0 width="100%" border=0>
        <col width="80%">
        <col width="20%">
        <!--buttons-->
        <tr>
            <td align="center" colspan=1>
                <input type="button" class="cmd" value="保存" onclick="return save()" id="submitBtn">
                <input type="button" class="cmd" value="返回" onclick="javascript:document.getElementById('divEditor').style.display = 'none';document.getElementById('divFilter').style.display = '';document.getElementById('response').style.display = '';" >
                &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                <input id="deleteCommand" type="button" class="cmd" style="display:none" value="删除"  onclick="deleteRecord(tuid.value)">
            </td>
            <td class="th20 required" colspan=3>
                特别标注为必填信息.
            </td>
        </tr>
    
</table>
</FIELDSET>

    <!--tuid是否为空,决定了form的保存方法为编辑保存,还是新增保存-->
    <input type="hidden" id="tuid" name="tuid" default="0" value="">
	<input type="hidden" id="archives_status" name="archives_status" value="">
</form>
